package xyz.honeysuccess.util;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author Honey
 * @date 2021/12/21
 */
public class DateUtil {

    public static String getDate(){
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyyMMdd");
        Date date = new Date(System.currentTimeMillis());
        return simpleDateFormat.format(date);
    }

}
